<template>
  <view class="page">
    <view class="content" v-if="dataInfo.content">
      <rich-text class="rich" :nodes="dataInfo.content"></rich-text>
    </view>
    <view class="tips" v-else> 暂无 </view>
  </view>
</template>

<script>
import detailModule from "@/common/mixins/detail-module";
export default {
  mixins: [detailModule],
  data() {
    return {
      mixinViewOptions: {
        getURL: "/agreement",
        isShowLoading: true,
        reachBottom: true,
        createdIsNeed: true,
        pullDown: true,
      },
    };
  },
  onLoad() {},
};
</script>

<style lang="scss" scoped>
page,
.page {
  min-height: calc(100vh - var(--window-top));
  background-color: #fff;
}
.content {
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
  // *white-space:normal!important;
  padding: 30rpx;
  font-size: 28rpx;
  line-height: 46rpx;
  background: linear-gradient(180deg, #0d1523 0%, #102945 100%);
  color:#fff;
  font-family: "Microsoft YaHei";
  pre {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
  }
  .rich {
	  color: #fff!important;
	  p {
		  color: #fff!important;
	  }
  }
}
</style>
